package com.memorypalace.user.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.memorypalace.pojo.User;
import com.memorypalace.user.mapper.CheckUserMapper;

@Service("checkUserBiz")
public class CheckUserBizImpl implements ICheckUserBiz {
	@Autowired
	private CheckUserMapper checkUserMapper;

	@Override
	public User checkUserAndPsd(User user) {
		User users = checkUserMapper.checkUserAndPsd(user);
		return users;
	}

	@Override
	public User checkEmailAndPsd(User user) {
		User users = checkUserMapper.checkEmailAndPsd(user);
		return users;
	}

	

	

}
